package com.demo.domain.dto;

import java.util.StringJoiner;

public class UserDto {
    private String shu;
    private int verificationcode;
    private String email;
    private String mobile;
    private String password;
    private String code;
    private String token;

    public String getShu() {
        return shu;
    }

    public int getVerificationcode() {
        return verificationcode;
    }

    public String getEmail() {
        return email;
    }

    public String getMobile() {
        return mobile;
    }

    public String getPassword() {
        return password;
    }

    public String getCode() {
        return code;
    }

    public String getToken() {
        return token;
    }

    public UserDto(String shu, int verificationcode, String email, String mobile, String password, String code, String token) {
        this.shu = shu;
        this.verificationcode = verificationcode;
        this.email = email;
        this.mobile = mobile;
        this.password = password;
        this.code = code;
        this.token = token;
    }

    public UserDto() {
    }

    @Override
    public String toString() {
        return new StringJoiner(", ", UserDto.class.getSimpleName() + "[", "]")
                .add("shu='" + shu + "'")
                .add("verificationcode=" + verificationcode)
                .add("email='" + email + "'")
                .add("mobile='" + mobile + "'")
                .add("password='" + password + "'")
                .add("code='" + code + "'")
                .add("token='" + token + "'")
                .toString();
    }
}
